package Tax;

import java.util.Scanner;

public class MagicNubser {
    public static void main(String[] args) {
        System.out.println("请输入合法成绩");
        Scanner scanner = new Scanner(System.in);
        do {

            double score = scanner.nextDouble();
            if (score <= 60.0) {
                       System.out.println("不及格！补考");
                    }

                  if (score > 90.0) {
                       System.out.println("你的成绩是A");
                  }

                   if (score > 70 && score <= 90) {
                      System.out.println("你的成绩是B");
                   }
        }while (scanner.hasNextDouble());
    }
}
